//
//  WorkflowViewController.h
//  TarPhone
//
//  Created by Christopher Anderson on 17/03/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GroupedTableController.h"
#import "ActionCellController.h"



@class Workflow, TarPipeOAuthRequestPoster, EditableCellController, ImageSelectionController, StartWorkflowCellController;

@interface WorkflowViewController : GroupedTableController<UIImagePickerControllerDelegate, ActionCellControllerDelegate>  {
	Workflow *workflow;
	//IBOutlet UITableView *tableView;
	TarPipeOAuthRequestPoster *requestPoster;
	
	EditableCellController *titleCell;
	EditableCellController *bodyCell;
	ImageSelectionController *imageCell;
	StartWorkflowCellController *startWorkflowCell;
	
}

- (void) startWorkflow;
- (void) requestDidCompleteWithResponseString:(NSString *)string;


@property (nonatomic, retain) Workflow *workflow;
@property (nonatomic, retain) TarPipeOAuthRequestPoster *requestPoster;
@property (nonatomic, retain) EditableCellController *titleCell;
@property (nonatomic, retain) EditableCellController *bodyCell;
@property (nonatomic, retain) ImageSelectionController *imageCell;
@property (nonatomic, retain) StartWorkflowCellController *startWorkflowCell;


@end
